package com.share.device.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.share.device.domain.CabinetType;
import com.share.device.mapper.CabinetTypeMapper;
import com.share.device.service.CabinetTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CabinetTypeServiceImpl extends ServiceImpl<CabinetTypeMapper, CabinetType> implements CabinetTypeService {
    @Autowired
    private CabinetTypeMapper cabinetTypeMapper;

    /**
     * 获取柜机类型列表
     * @param cabinetType
     * @return
     */
    @Override
    public List<CabinetType> selectCabinetTypeList(CabinetType cabinetType) {
        List<CabinetType> list = cabinetTypeMapper.selectCabinetTypeList(cabinetType);
        return list;
    }

}
